package com.imooc.o2o.service;

import com.imooc.o2o.entity.HeadLine;

import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

public interface HeadLineService {

    public static final String HEADLINELIST = "headlinelist";

    /**
     * 传入条件返回的头条列表
     *
     * @param headLine
     * @return
     * @throws IOException
     */
    List<HeadLine> getHeadLineList(HeadLine headLine) throws IOException;

}
